package com.lv.service.event

import androidx.annotation.Keep
import com.jeremyliao.liveeventbus.core.LiveEvent
import com.lv.service.bean.ClientItemBean
import com.lv.service.bean.CompanyItemNewBean
import com.lv.service.bean.DisplayFacBean
import com.lv.service.room.company.CompanyItemBean

/**
 * 作者： ygx
 * 创建日期：2023/3/1 1:49 PM
 * 签名： 天行健，君子以自强不息；地势坤，君子以厚德载物。
 * -    _              _           _     _   ____  _             _ _
 * -   / \   _ __   __| |_ __ ___ (_) __| | / ___|| |_ _   _  __| (_) ___
 * -  / _ \ | '_ \ / _` | '__/ _ \| |/ _` | \___ \| __| | | |/ _` | |/ _ \
 * - / ___ \| | | | (_| | | | (_) | | (_| |  ___) | |_| |_| | (_| | | (_) |
 * -/_/   \_\_| |_|\__,_|_|  \___/|_|\__,_| |____/ \__|\__,_|\__,_|_|\___/
 * <p>
 * You never know what you can do until you try !
 * ----------------------------------------------------------------
 * 描述：开户 刷新状态
 */
@Keep
class CompanyStateEvent(
    val clientItem: ClientItemBean?,
    // 0 增 开户 1 增 快速开户  2 删 3 修改 4 待审核 补充信息 快速开户-》开户 5增免费开户
    // 6免费客户升级 7 免费店铺信息修改(上线) 8 免费店铺信息修改(下线) 9 店铺上线到下线 10 店铺下线到上线
    val tag: Int = 0
) : LiveEvent {
}

@Keep
class ClientStateEvent(
    val clientItem: ClientItemBean?,
    val tag: Int = 0//11添加拜访、服务记录，签单 12 客户列表中点击添加   13 客户搜索列表中点击添加 14 删除合同
) : LiveEvent {
}

@Keep
class CompanyInfoEvent(
    val companyInfo: CompanyItemBean?,
    val tag: Int = 0
) : LiveEvent {
}

@Keep
class CompanyBindEvent(
    val companyInfo: CompanyItemBean?,
    val tag: Int = 0,
) : LiveEvent {
}

@Keep
class CompanyTagEvent(
    val cpyid: String?,
    val disPlay: List<DisplayFacBean>?,
) : LiveEvent {
}

@Keep
class CompanySortEvent(
    var tag: String?,
    var tab: Int = 0,
    var preInt: Int = -1,
    var toInt: Int = -1,
    var item: CompanyItemNewBean? = null
) : LiveEvent {
}

@Keep
class CompanyInfoUPDataEvent(
    val companyInfo: CompanyItemBean?,
    val tag: Int = 0
) : LiveEvent {
}


